-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add explicit serialization support for Obs and Ops binding classes for H distribution #591
base: master
Are you sure you want to change the base?
Conversation
Hello. You may have forgotten to update the changelog!
|
…lane-lightning into update/pickle_bindings
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #591 +/- ##
==========================================
+ Coverage 98.18% 98.38% +0.19%
==========================================
Files 10 146 +136
Lines 1210 19324 +18114
==========================================
+ Hits 1188 19011 +17823
- Misses 22 313 +291 ☔ View full report in Codecov by Sentry. |
16c5b99
to
b6f8c10
Compare
…lane-lightning into update/pickle_bindings
Note: LUMI data collected using the current changes as of the latest commit. |
Currently pausing development until a full integration strategy has been defined. |
Before submitting
Please complete the following checklist when submitting a PR:
All new features must include a unit test.
If you've fixed a bug or added code that should be tested, add a test to the
tests
directory!All new functions and code must be clearly commented and documented.
If you do make documentation changes, make sure that the docs build and
render correctly by running
make docs
.Ensure that the test suite passes, by running
make test
.Add a new entry to the
.github/CHANGELOG.md
file, summarizing thechange, and including a link back to the PR.
Ensure that code is properly formatted by running
make format
.When all the above are checked, delete everything above the dashed
line and fill in the pull request template.
Context: This PR adds explicit support for serialization and pickling of C++ bound classes in the Lightning backends. Additional functionality is added to validate this supports with scaled distribution of the pickled work using mpi4py.
Description of the Change: Enables explicit pickling support to C++ bound classes. Unlocks support for mpi4py concurrent futures API evaluation of pickled classes with forward pass and adjoint gradients of H.
Benefits: Allows immediate scaling evaluations of forward pass and adjoint gradients of Hamiltonians with LightningKokkos.
Possible Drawbacks: Functionality integration requires subtle architectural changes to better integrate with other backends in ecosystem.
Related GitHub Issues:
Shortcut Stories:
[sc-53909]